package net.gz01.wallet.web.config.route;

import com.jfinal.config.Routes;

import net.gz01.wallet.web.controller.admin.*;
import net.gz01.wallet.web.controller.admin.AccountController;
import net.gz01.wallet.web.controller.admin.AdminRoleController;
import net.gz01.wallet.web.controller.admin.AdminUserController;
import net.gz01.wallet.web.controller.admin.ChannelController;
import net.gz01.wallet.web.controller.admin.ChannelFeeControlle;
import net.gz01.wallet.web.controller.admin.ChargeOrderController;
import net.gz01.wallet.web.controller.admin.ClearingDetailController;
import net.gz01.wallet.web.controller.admin.ClearingIncomeController;
import net.gz01.wallet.web.controller.admin.ClearingMonitorController;
import net.gz01.wallet.web.controller.admin.DictionaryController;
import net.gz01.wallet.web.controller.admin.FeeModelController;
import net.gz01.wallet.web.controller.admin.HelpController;
import net.gz01.wallet.web.controller.admin.MainController;
import net.gz01.wallet.web.controller.admin.MerchController;
import net.gz01.wallet.web.controller.admin.MerchRoleController;
import net.gz01.wallet.web.controller.admin.MerchUserController;
import net.gz01.wallet.web.controller.admin.OrgController;
import net.gz01.wallet.web.controller.admin.OrgRoleController;
import net.gz01.wallet.web.controller.admin.OrgUserController;
import net.gz01.wallet.web.controller.admin.PayOrderController;
import net.gz01.wallet.web.controller.admin.ReportController;
import net.gz01.wallet.web.controller.admin.RiskRuleController;
import net.gz01.wallet.web.controller.admin.ShareFeeController;
import net.gz01.wallet.web.controller.admin.TradeConfigController;
import net.gz01.wallet.web.controller.admin.TradeOrderController;
import net.gz01.wallet.web.controller.admin.YouliAccountController;
import net.gz01.wallet.web.controller.admin.YouliAccountRuleController;


public class AdminRoute extends Routes{

	@Override
	public void config() {
		super.setBaseViewPath("/WEB-INF/admin/");
		// 首页
		super.add("/admin", MainController.class,"/");
		super.add("/admin/youliAccount", YouliAccountController.class,"/");
		super.add("/admin/youliAccountRule", YouliAccountRuleController.class,"/");
		super.add("/admin/dictionary", DictionaryController.class,"/");
		super.add("/admin/channel", ChannelController.class,"/");
		super.add("/admin/org", OrgController.class, "/");
		super.add("/admin/user", AdminUserController.class, "/");
		super.add("/admin/role", AdminRoleController.class, "/");
		super.add("/admin/org/user", OrgUserController.class, "/");
		super.add("/admin/org/role", OrgRoleController.class, "/");
		super.add("/admin/merch/user", MerchUserController.class, "/");
		super.add("/admin/merch/role", MerchRoleController.class, "/");
		super.add("/admin/merch", MerchController.class, "/");
		super.add("/admin/fee/model", FeeModelController.class, "/");
		super.add("/admin/fee/channel", ChannelFeeControlle.class, "/");
		super.add("/admin/fee/share", ShareFeeController.class,"/");
		super.add("/admin/account", AccountController.class, "/");
		super.add("/admin/tradeconfig", TradeConfigController.class, "/");
		super.add("/admin/riskRule", RiskRuleController.class, "/");
		super.add("/admin/order", TradeOrderController.class, "/");
		super.add("/admin/charge", ChargeOrderController.class, "/");
		super.add("/admin/pay", PayOrderController.class, "/");
		super.add("/admin/clearing/payexport", PayOrderExportController.class, "/");
		super.add("/admin/clearing/youliaccount", YouliAccountOrderController.class, "/");
		super.add("/admin/clearing/monitor", ClearingMonitorController.class , "/");
		super.add("/admin/clearing/detail", ClearingDetailController.class , "/");
		super.add("/admin/clearing/income", ClearingIncomeController.class , "/");
		super.add("/admin/clearing/report", ReportController.class, "/");
		super.add("/admin/help", HelpController.class, "/");
		super.add("/admin/notice", NoticeController.class, "/");
		super.add("/admin/contacts", ContactsController.class, "/");
		super.add("/admin/hetong", HeTongController.class, "/");
	}

}
